<?php
// +----------------------------------------------------------------------
// | Author: yaoyihong <510974211@qq.com>
// +----------------------------------------------------------------------

namespace app\common\validate;

/**
 * 基础验证器
 */
class ProgramUser extends ValidateBase
{
	// 验证规则
    protected $rule = [
        'code'          => 'require'
    ];

    // 验证提示
    protected $message = [
        'code.require'    => '登录标识code必须'
    ];

    // 应用场景
    protected $scene = [
        'login'  =>  ['code'],
    ];
}
